﻿#define _CRT_SECURE_NO_WARNINGS 1

//编程初学者入门训练第九题
//BC11 学生基本信息输入输出
//https://www.nowcoder.com/practice/58b6a69b4bf943b49d2cd3c15770b9fd?tpId=107&tqId=33292&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3Fpage%3D1%26pageSize%3D50%26search%3D%26tpId%3D107%26type%3D107&difficulty=undefined&judgeStatus=undefined&tags=&title=

#include <stdio.h>

int main() {
    unsigned int num = 0;
    float C_language = 0.0f;
    float Math = 0.0f;
    float English = 0.0f;
    //输入
    scanf("%d;%f,%f,%f", &num, &C_language, &Math, &English);
    //输出
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", num, C_language,
        Math, English);

    return 0;
}